hasPin

abstract fun hasPin(): Boolean

The the available gpio pin for usage with RemoteHardware module
.meshtastic.RemoteHardwarePin pin = 2;

Return

Whether the pin field is set.